-- GENERATED SPELL FOR [Chieftain Gurgleboggle] --


function spell0_25725(pUnit, Event) --@Flip Attack,n/a--
pUnit:FullCastSpellOnTarget(50533,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25725', 622, 1)
end

function Sorts_25725(pUnit, Event)
local choix_sorts_25725 = math.random(0, 0)
if choix_sorts_25725 == 0 then
pUnit:RegisterEvent('spell0_25725', 1, 1)
end
end

function mob25725_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25725', math.random(1500, 3000), 1)
end

function mob25725_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25725_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25725_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25725, 1, 'mob25725_Action')
RegisterUnitEvent(25725, 2, 'mob25725_Leave')
RegisterUnitEvent(25725, 3, 'mob25725_Kill')
RegisterUnitEvent(25725, 4, 'mob25725_Die')
